package com.coship.vasms.adstorm.service;

import java.util.List;

public interface AdvertisementService<Advertisement> {
	
	public void add(Advertisement ad);
	
	public List<Advertisement> queryAllAd();
	
	public void update(Advertisement ad);
	
	public void deleteByid(Integer id);
	
	public String isExistAdName(String adname);
	/**
	 * Description 	:  根据id查询广告
	 *
	 * @param id 广告内容id
	 * @return Advertisement
	 */
	public Advertisement queryAdvertisementById(Integer id);
}
